<?php

/**
 * Part form.
 *
 * @package    Porba
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class PartForm extends BasePartForm
{
  public function configure()
  {
      unset($this['created_at'], $this['updated_at']);
  }
  
  public function setDefaultValues(){
      $this->setDefault('stock', 0);
      $this->setDefault('reserved', 0);
      $this->setDefault('in_production', 0);
      $this->setDefault('ordered', 0);
  }
}
